package it.crudity.web.beanutils;

import it.crudity.web.util.BeanPropertyMapFactory;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/***
 * This annotation is used for marking methods for converting their return type
 * in a property map via {@link BeanPropertyMapFactory}
 * 
 * @see PropertyMapBeanConverterAspect
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface PropertyMapConvert {
	/***
	 * @return the properties to put in the returned property map
	 */
	String[] value();
}